package com.fmo;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

public class NumerosTest {

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	//@Test
	//public void testNumeros() {
	//	fail("Not yet implemented");
	//}

	@Test
	public void testPar() {
	 // MyClass is tested
	 Numeros tester = new Numeros(8);
		   
	 // check 
	 assertEquals("8 es par", true, tester.par());	
	}

	@Test
	public void testImpar() {
	 // MyClass is tested
	 Numeros tester = new Numeros(11);
			   
	// check 
	assertEquals("11 es par", true, tester.impar());		
	}

}
